DEF FNDplot_fileexist(Filename$)
!
! Checks if a given filename exist (including full path)
! Return values:
! 1: File does exist
! 0: File does not exist
! -1: File open or locked exclusively
! -2: http:// filename, can't check if it exist
FNDplot_fileexist checks if a given filename exist.