Allow assigning files via a hash