takes arg as file to read