putfile first version