Return correct error for fevent on files

parent 015d352e
Pipeline #4020 passed with stages
in 2 minutes and 29 seconds