Prevent No such file or directory