checking if pdf files are used anywhere, if not delete them from file_managed table and the hard drive