created DAO interface for photo files