Utility to cut a part of the file to another file