added temporary code file bouncing to get file viewing working