Fixed bug with unrecognised file types in watch folder