Adding header files to the program

I am trying to use a GY-521 gyroscope with my UNO board. I need to add these header files "I2Cdev.h" "MPU6050.h" for that. I copied the headers from github and pasted them into a text file named I2Cdev.h and MPU6050.h. I saved the files in a folder I created in the directory 'libraries' named gyro. Did I do anything wrong? Because the IDE is telling me that it cant find a file named I2Cdev. I am using Ubuntu 14. Thanks

You should be able to put them in the same directory as your .ino file and refer to them as #include "xxxx.h"

...R