Puzzle input and new file creation