Adapting cut.html to use file ids and not names