execute only if a file exists