Improve performance of method getAllFileObjects in GlobalContainer