Helper function to create a file path.