Registered the local app in the hopes of loading local template, but now it is validating more strictly and new errors are appearing. Guess that's good in a way.
Changed file field to path, because putting the files in database would be pointless in current context.