Add tests and examples for file_path