More checks on filename