override sync method on File model