implement .file_contents

Slightly modifies #70 to not directly call HTTParty.