Added code to get content of file if no parameter is given to file type