Move file handling to a different file