stubs for is_dir?, is_file?, is_in_file?