The page generation now checks for the size of $file_arr and only generates a menu if the size os greater than 0.