check multiple files, create subdirs if needed, defaults to html haml