added spec for returning file input stream
fixed glob precompile to use all possible output