load from folder

Original PR #51 by @jasonkneen