Fixed up FileManager, however this breaks all functionality as Context from the main activity doesn't really work out.