Cleaned up file output