Updated File Output Method

Changed file names to be legal, made so writes entire contents of array, added import statements