move file reference and processor API to base api from webapp api