.load files, fixes #23, fixes #24, fixes #27

Modifications on original #27 by @jhaynie