Added get-file-contents method

Added get-file-contents method