add a file from localhost