Simplify file handling