using macro for rendering file_table