Modifying form for navigating through files