Adds get file by ID method.