Suppress is_file() warnings