remove unusable tasks
refactor methods works with files