null check for file
better task passing
very primitive execution (based on the old project)