Better file handling.