Updated some constants, added new file utility methods and fixed a bug in reading file contents.