cleaning up file, removing spaces, setting proper formatting etc.