Created unit-tests for "file_data" method