Fix getter for file field