file api (just with file name)