add check for empty files on bare metal
Merge branch 'master' of github.com:roiser/JobMachineFeatures