Adding new method (getFileById())