Added support for reading file contents