first attempt at file import code