Added comments, edited formatting

- Added comments to file_alpha
- Fixed some formatting quirks
- Edited parse_trim to explicitly close all files after use