Fixed file issues

Added some info for file types and stripped out invalid characters at the end of some files.