Support for pdf files done