accept 'layername' and 'filename' in import, WARNING deprecation