changed file transfer to fileregion but still does not work correct