added return data to File->put