Add input files

This code addresses issues #82 and #7 

@rpanah, would you please review this?
You might want to avoid stripping the extension here, because xx.txt and xx.dat might both exist and belong to different (or same) experiments, but they will both be filehashes['xx']. This might cause problems.