added pdf converter and file selection