extract work with file