Reverted back to serializing FilePath objects