Nanostructured templates for critical current density enhancement in YBa2Cu3O7-xfilms