Reject promise if file does not exist