Reads in a file, removes blank lines and remarks (lines starting with ’#’) and then returns an array of all the remaining lines.