Preparing table view file