performance optimizations for file panels