work on exporting php file.