Clean up file loading