Cleaned up file initialize