thanks but how can you copy the file from resources.