FileController changed to parent class

All classes that were implementing FileController now extend it.
Unnecessary and deleted methods were also removed.