Fix for API Bug in fileOpen & Remove Request

ref. to https://github.com/Codiad/Codiad/issues/397
ref. to https://github.com/Codiad/Codiad/issues/399