fix bug with booleans
link_to_file helper