Function was supposed to return file uri.