Protection against files not existing