Changed all methods to be abstract methods.
Moved write and make dirs from output.py to fileaction.py.
Added initialization for output file.