date obj from photo file path