Work with file