fixed file tree refreshs and file shortening