Added new methods to FileController