Move file size check logic to PTShowcaseView. Fixed an issue with nested file index.