Add static declaration to File::getByID()

Add static declaration to `File::getByID()`

Method is typically called statically