Hi , I am writing a script in python to identify the type of a file.In most of the cases I got the correct file type on the basis of file extension. Is there any way to identify a PLSQL, TSQL or SQl file as these files may have the same 'sql' extension. Thanks Sibtey