Preparations for FileAddManager. Temporary, not working.