Added support to be able to get file id by name

Get file id knowing only the files full name. Returns the name of the
file.