prompting and passing, reading files