added background file insertion
minor style fixe
factored out file inserting
Merge pull request #6 from montaggroup/file_background_insert

Added background file insertion