checking that file exists in startup script