Updated formatBytes to be faster. Removed copyright since the
modification changes a significant amount of the code.
Updated documentation for get file type.