import_pattern function

Quickly import plaintext files.