Image vectors are cleared after being output
Takes input file from data directory