added checks for filenames
first ajax example
Merge pull request #2 from amitdar/amit

added checks for filenames