File getter and setter

For the "photo" entity in the userbundle